package com.home.daocao.auth.domain.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("ums_sys_user")
public class UmsSysUser  implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;
	private String  username;
	private String  nickname;
	private String  email;
	private String  mobile;
	private Integer  sex;
	private String  avatar;
	private String  password;
	private Integer  status;
	private String  creator;
	
	@TableField(fill = FieldFill.INSERT)
	private Date  create_time;
	
	private String  updater;
	  
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date  update_time;
	
	private String  remark;
	private Integer  deleted;
	
	@TableField(exist = false)
	private List<UmsRole> roleList=new ArrayList<>();
	
}
